package generic;

/**
 * @Author Klys
 * @Date 2023/4/4 1:44
 * @Description
 * @Version 1.0
 */

/**
 * 泛型
 */
public class Demo01 {
    public static void main(String[] args) {
        Student student = new Student(12, "klys");
        Result<Student> studentResult = new Result<>();
        studentResult.setObj(student);
        System.out.println(studentResult.getObj());
    }
}
